package com.stb.client.menu;

import com.google.gwt.user.client.Command;
import com.stb.client.menu.listener.LogoffListener;

public class LogoffCommand implements Command {

	private final LogoffListener listener;

	public LogoffCommand(LogoffListener listener) {
		this.listener = listener;
	}

	@Override
	public void execute() {
		this.listener.loggedOff();
	}
}
